#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
int main()
{
	char arr[] = "dasha.liucong@gongfupang";
	char buf[30] = { 0 };
	strcpy(buf, arr);
	const char* sep = ".@";
	char* str = NULL;
	for (str = strtok(buf,sep); str != NULL; str = strtok(NULL, sep))
	{
		printf("%s\n", str);
	}
	return 0;
}